

Pod::Spec.new do |s|
  s.name             = 'ChangeEnvironmentManager'
  s.version          = '0.0.8'
  s.summary          = '切换环境，支持日常，预发，线上三种环境切换；支持Debug，Profile，Release三种模式展现不同的环境.'
  s.description      = <<-DESC
storyboard文件支持，增加NSBundle+ChangeEnvironment的不同bundle资源
                       DESC

  s.homepage         = 'https://gitee.com/zj1208/ChangeEnvironmentManager'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { '海参' => '879654715@qq.com' }
  s.source           = { :git => 'https://gitee.com/zj1208/ChangeEnvironmentManager.git', :tag => s.version.to_s }
  s.ios.deployment_target = '9.0'
  s.source_files = 'ChangeEnvironmentManager/Classes/*'

  s.subspec 'Resources' do |resources|
#    无法导入.bundle
#     resources.source_files = 'ChangeEnvironmentManager/Assets/*'
     resources.resource     = 'ChangeEnvironmentManager/Assets/ChangeEnvironmentManager.bundle'
   end
  


  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  s.dependency 'Masonry', '~>1.1.0'
end
